package me.keiwu.pub.data.wx;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * Created by kei on 21/11/2017.
 */
@Data
public class WXUserInfoData {

    @JSONField(name = "unionId")
    private String unionId;

    @JSONField(name = "openId")
    private String openId;

    @JSONField(name = "nickName")
    private String nickName;

    // 为了区分自定义的avatarUrl字段
    @JSONField(name = "avatarUrl")
    private String wxAvatarUrl;

    @JSONField(name = "gender")
    private Integer gender;

    @JSONField(name = "city")
    private String city;

    @JSONField(name = "province")
    private String province;

    @JSONField(name = "country")
    private String country;

    @JSONField(name = "language")
    private String language;

}
